SIGN IN SIGN UP

Issue #14406: Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`.

Patch by Matt Joiner.
A
Antoine Pitrou committed
8b34b53c52ce604bc48b39f83089cd404201de1b