long last = connection.getLast();
if (connection.getEndPoint().isOpen() && (last == 0 || ((now - last) < idleTimeout)))
</BUG>
return connection;
<BUG>else
{</BUG>
_connections.remove(connection);
<BUG>connection.getEndPoint().close();
}
}
return null;</BUG>
}

long last = connection.getLast();
if (connection.getEndPoint().isOpen() && (last==0 || ((now-last)<idleTimeout)) )
return connection;
_connections.remove(connection);
connection.getEndPoint().close();
connection=null;
