fixed mongo connection config causing exceptions to be swallowed on erroneous writes