Improve orphaned TLS section handling