[BUG #8038] Store the wrapped callback for once listener for each type