transaction = new DBTransaction<T>(message, incrementAndGetCounter());
return transaction.call(outputStream, inputStream);
} catch (Exception e) {
// Close this connection as it's probably invalid
close();
throw new MongoException("Error communicating with server", e, transaction);
}
}