Reslove #4 reinitialize thread for restart
Merge pull request #5 from imZack/develop

Resolve #4 reinitialize thread for restart