issue #19652: guarded against the sync user callback getting hit twice at the same time
Merge pull request #50 from shackbarth/19652

issue #19652: guarded against the sync user callback getting hit twice a...