Make sure we don't block forever when disconnecting socket

Fixes CLOSE_WAIT issues since we would block forever when waiting for our own greenlet to die