... (kick the client off) at any time. The close event dispatched by the server is used to describe the fatal error to the client. The client closes the socket and the connection by dispatching a 1000: Normal Closure close event to the server indicating a normal closure.