Processing events when dequeuing jobs. Test in progress!