server.js
function stop(callback) {
    if (httpServer) {
        DEBUG && debug('stop http server');
        try {
            httpServer.close();
        } catch (e) {
        }
        httpServer = null;
    } else {
        DEBUG && debug('***ignore*** http server is not running!');
    }
    callback && callback(false);
}
function stop(callback) {
    if (httpServer) {
        DEBUG && debug('stop http server');
        try {
            httpServer.close();
        } catch (e) {
        }
        httpServer = null;
    } else {
        DEBUG && debug('***ignore*** http server is not running!');
    }
    callback && callback(false);
}
function stop ( callback ) { if ( httpServer ) { DEBUG && debug ( 'stop http server' ) ; try { httpServer . close ( ) ; } catch ( e ) { } httpServer = null ; } else { DEBUG && debug ( '***ignore*** http server is not running!' ) ; } callback && callback ( false ) ; }
stop http server

@param {Function} callback
stop http server