969280: Fix traceback on disconnected sub detach