give more time to the .await() on the main thread
removed redundant check to see if teh thread isAlive() when .stop has been called