Connect to a specified mongodb URI