added some watchdog to avoid endless running tests