Make it possible to stop clients in a sane way.