Add upload attempt try loop to pastro.
Our pastro consumer can crash due to connection errors such as this:
requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://gracedb.ligo.org/api/events/G409313/log/
This MR adds a upload attempt try loop similar to what we have in postcoh_finalsink.py