int timeout = (policy == null) ? 1000 : policy.timeout;
Connection conn = node.getConnection(timeout);
try {
conn.write(dataBuffer, dataOffset);
conn.readFully(dataBuffer, HEADER_SIZE);
node.putConnection(conn);
}
catch (Exception e) {
// All IO exceptions are considered fatal. Do not retry.
// Close socket to flush out possible garbage. Do not put back in pool.