Use exception handler and catch all exception when queueing.