onDestroy

open override fun onDestroy()

Closes any dangling output pipes when the service is torn down.