avoiding invalid arg to wait
Merge pull request #18 from thesoftwarejedi/dev-tsj

avoiding invalid arg to wait