release references to server and client objects on logout to prevent a memory leak