Since the sdl to target tree move, the main thread cannot be removed anymore,