thread is stopped, period sleep added