I've added code to release workers in both noted failure scenarios. Can you clarify your comment about `release_worker`? I'm not familiar with its workings.