Let's freeze worker once it has "output" status and unfreeze it after finishing processing output (also unfreeze it in case of i/o errors)