allow removal of listeners at dispatch time