bpo-45209: fix `UserWarning: resource_tracker` in test_multiprocessing (GH-28377)

(cherry picked from commit f604cf1c377a7648e0686044e6e49900bfc9feef)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 files changed