CB-5217: cordova emulate ios doesn't exit