wait for lock to be free and retry tsx