Fixed removing queue listener.