close

abstract fun close()

Closes the server and frees all its resources.

After this no listeners will be called anymore.