close

abstract fun close()

closes the websocket gracefully and asynchronously