Add synchronization marks around the creation of pacemaker resources