Bug 874814 - Close AsyncClose() off the main thread and loop until all statements are finalized. r=mak