Not sure why windows tests hang macOS sometimes fails to get a file lock leading to failing `tests/test_clients_close.py`