When a callback is unregistered, remove event from eventList if there are no more calllbacks registered for that event