handle case where specified listener is not registered in call to unregisterListener