Avoiding race condition in mongo connection
My first test :S