Fixed wait for completion for MotorSync