Async queue: fix the firing of the 'complete' event on stop()

About #1341