Add an event listener to allow to add additional logic around job life cycle