clean up client stacks