Bug 1016412 - Fix intermittent error in async_semaphore_test.js
Merge pull request #19801 from dwi2/bug1016412

Bug 1016412 - Fix intermittent error in async_semaphore_test.js