fixes #3442

a race-condition fixed in stress tests. a test is now always waiting for KillMemberThread to finish.
Merge pull request #3446 from jerrinot/fix/member-left-over/master

a fix for #3442