Drastically improved the performance and reliability of account deactivations. Contributed by @nex.