Fix project deployer threads leakage