Attempt to communicate with the MongoDB