- Fixed an infinite loop in `WebsocketService` that blocked the event loop when a remote server closed the connection gracefully.