Catch socket.error in windows_shell()
Waits for two Ctrl+C before killing everything