Abandon INFINITE param

Using INFINITE parameter isn't safe. Instead of it use timeout value and
do action when thread finish or not (timeout run-dow).