thread abort fix