valgrind check: do not read potentially deleted variables

let's see if it solves the occational crash in test_highlevel.py
or simply test Debug before RemoveClient? ... if this really is the
issue....... I let you have a look becasue I do not really know that part
of the code