fixing thought timeout event issue