Update DBTCPConnector.java

We should catch the `MongoException` first. Otherwish, any `RuntimeException` (com.mongodb.MongoException$DuplicateKey for example) will cause connection closed.
JAVA-1187: Merge branch 'patch-1' of https://github.com/prisoner/mongo-java-driver into prisoner-patch-1