Stop the device when updating parameters, don't close it