private void checkOpenConnections() {
        if (stopping) {
            return;
        }
        // do routine checks on active connections
        synchronized (m_OpenConnections) {
            for (Iterator<Connection> iter = m_OpenConnections.iterator(); iter.hasNext();) {
                Connection conn = iter.next();
                ConnectionData cd = conn.getConnectionData();
                // check if it is dead and remove it.
                if (!conn.isActive()) {
                    registerClosedConnection(conn);
                    continue;
                }
                /* Timeouts check */
                // first we caculate the inactivity time
                long inactivity = System.currentTimeMillis() - cd.getLastActivity();
                // now we check for warning and disconnection
                if (inactivity > warningTimeout) {
                    // ..and for disconnect
                    if (inactivity > (disconnectTimeout + warningTimeout)) {
                        // this connection needs to be disconnected :)
                        log.debug("checkOpenConnections():" + conn.toString() + " exceeded total timeout.");
                        // fire logoff event for shell site cleanup , beware could hog the daemon thread
                        conn.processConnectionEvent(new ConnectionEvent(conn, ConnectionEvent.CONNECTION_TIMEDOUT));
                        // conn.close();
                    } else {
                        // this connection needs to be warned :)
                        if (!cd.isWarned()) {
                            log.debug("checkOpenConnections():" + conn.toString() + " exceeded warning timeout.");
                            cd.setWarned(true);
                            // warning event is fired but beware this could hog the daemon thread!!
                            conn.processConnectionEvent(new ConnectionEvent(conn, ConnectionEvent.CONNECTION_IDLE));
                        }
                    }
                }
            }
            /* end Timeouts check */
        }
    }// checkConnections