Fix for running a command so you can log out without killing it.