agh, trying to find a way to kill the darn thread