Handle qan worker panic