Added 'try/catch' wrappers for Mongo connection.