Client no longer hangs when server dies during readline.