Update DBTCPConnector.java

We should catch the `MongoException` first. Otherwish, any `RuntimeException` (com.mongodb.MongoException$DuplicateKey for example) will cause connection closed.