changed how getundispatchedcommits concurrency checking functions

we now auto retry on concurrency detection from undispatchedcommits
call.