fix exit thread bug