Clean up pendingDisconnections propertly