close

fun close()

Closes the SSE stream and releases all resources. After calling this method, the stream cannot be restarted.