From the changelog: * Do not close stdout prematurely in control mode since it is needed to print exit messages. Prevents hanging when detaching with iTerm2. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>