Emulates the detach feature of screen
