only one atc scans for resources at a time

...via a simple db table locking mechanism

[#80072024]