Sleep more in test_member_freeze to eschew races.

Fix most ResourceWarnings/DeprecationWarnings under Python 3.
:-(