Make sure acquisition is stopped before quitting.