added timer on and off in gttthread join