code optimize with subprocessing
optimize the Interface watchdog