[PATCH 3/6] server: Remove the socket from the polling loop if both it and the peer have SHUT_WR.