Fix for mongo not connecting on travis