PHP-1017: Moved commandCursor() from MongoCollection to MongoDB
Handle random error cases that showed up when moving this method across.