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

About #1341