Handle exceptions in queue runner