If you stopped a backup, freezeConnection was being called with this condition and interrupting the executors shutdown causing a leakage. This change here was only possible after the thread test was broken.