updating async work from polling condition to blocking variable