clientmanager cleanup