public static void setThreadsSocketPolicy(boolean conserveSockets) {
    if (conserveSockets) {
      ConnectionTable.threadWantsSharedResources();
    } else {
      ConnectionTable.threadWantsOwnResources();
    }
  }
Sets the calling thread's socket policy. This value will override that default set by the
<code>conserve-sockets</code> configuration property.

@param conserveSockets If <code>true</code> then calling thread will share socket connections
       with other threads. If <code>false</code> then calling thread will have its own sockets.
@since GemFire 4.1
geode-core/src/main/java/org/apache/geode/distributed/DistributedSystem.java