add watchdog script to auto restart server