@Override boolean closeIfIdle(long idleTimeout){
  if (closeReason != null)   return true;
  long lastMsgTime=Math.max(Math.max(lastMsgSndTime,lastMsgRcvTime),createTs);
  if (lastMsgTime + idleTimeout < System.currentTimeMillis() && pendingReqs.isEmpty()) {
    close(CONN_IDLE,true);
    return true;
  }
  return false;
}

@ Override boolean closeIfIdle ( long idleTimeout ) { if ( closeReason != null ) return true ; long lastMsgTime = Math . max ( Math . max ( lastMsgSndTime , lastMsgRcvTime ) , createTs ) ; if ( lastMsgTime + idleTimeout < System . currentTimeMillis ( ) && pendingReqs . isEmpty ( ) ) { close ( CONN_IDLE , true ) ; return true ; } return false ; }
closes client only if there are no pending requests in map .
