Wait for mandatory read/accept/close after event on socket.