Cleanup trigger handling for worker.