added support for longer daemon check time