modify thread's timing
Merge pull request #26 from irvs/issue21

modify thread's timing