[SHARE-737][Improvement] Use try advisory lock for harvest tasks (#623)
[SHARE-737][Improvement] Use try advisory lock for harvest tasks (#623)

* Use try advisory lock for harvest tasks

* Use execute with parameters

Use transaction level lock instead of session level

CenterForOpenScience/SHARE,CenterForOpenScience/SHARE,CenterForOpenScience/SHARE,aaxelb/SHARE,aaxelb/SHARE,aaxelb/SHARE