open fun terminate(): Unit
Terminate the process.
open fun terminate(completionHandler: Handler<Void>): Unit
completionHandler - handler called after end callback
completionHandler