Allow threads to delete themselves on finish