onClose

protected open fun onClose(code: Int, reason: String)