Cleanup in wait-free stacks.