Set callback to be invoked when the connection WebRTC is closed
onClosed(fn: ClosedCallback): void
fn: