make sure thread has been created before trying to join it..