[865758] Improved error handling of MongoDB connection problems
Merge pull request #28 from ksedge/b865758

[865758] Improved error handling of MongoDB connection problems

@ksedge this looks good to me for now. Based on the conversations we had with JP, he might not want the process to exit in production. We'll revisit it when he resolves what he wants out of the process.