property Client.close Stops the keepalive, ends the event stream and closes the writable. The caller still closes the socket. Type () => Promise<void>