removed setting gcthread to None