Fix the async bug between WebRole and WorkRole.

After this fix, the whole pipeline will work in Local Azure