This should (hopefully) fix issues with self deleting threads stalling when trying to self delete