Log pymongo's exception on ConnectionFailure

Log pymongo's exception instead of hiding it. The exception is needed
for debugging.

Change-Id: I89991f956487e3f55c940f5a1aa9c204ccb2fc33