make test_slave_comm more robust against broker leaks