Fixed --closed-loop option