unsubscribing when there are no handlers for an events