unified wait time as class variable
fixed starting a thread
fixed starting a thread
fixed thread issue