Clean up orphaned listeners.