moved cleanup to the pacemaker provider