pool.addToPool(result);
nodeFree(result.getNodeId());
System.out.println("Add to pool");
if (pool.isFull())
{
if (pool.IsResultClient())
{
this.writeMessage(pool.getElemPool(0), pool.getTargetId());
this.pools.remove(pool);
System.out.println("Size pool array: " + this.pools.size());
}