tweak for possible race conditions in reprioritizing and completing same item