Client: do not cause memory leak