public static function childMode() { self::$child_process = true; self::$child_pids = array(); self::closeServerSockets(); }