Bug 1028943 - Only factoryReset() after all calls to delete() finish. r=...

...dougt a=bailey