closing a socket will resume coroutines waiting on it