Refactor Process cleanup timer