Moving USB poweroff command outside of the try/catch so that it is always executed