make PulsarJob to be EventEmitter.