catch socket.error from dead greenlet