Detach the sender without closing it.
The operation is complete when on-sender-detach fires.
Related: Method messaging-handler.on-sender-detach