retry query on deadlock error
multi threads copy and delete in fc daemon