Fixed PHP-1075: close() with parallelCollectionScan() segfaults upon req...

...uest shutdown