properly cleanup remaning clients after test is completed. fixes #3833