Troubleshooting mongo connection problem