remove memory leaks; zombie listeners