fix concurrent issues at bulk retry logic