Issue #14308: Fix an exception when a dummy thread is in the threading module's active list after a fork().