Only create thread when sleep count is not zero.