adds simple lock strategy for postgres
worker: decrease polling interval