Automatic precipitation-dissolution in continuous flow systems