open fun closeHandler(handler: Handler<Void>): MqttEndpoint
Set a close handler. This will be called when the MQTT endpoint is closed
handler - the handler
handler
Return a reference to this, so the API can be used fluently