add watdog support