Retry database connection for up to ten seconds
Retry database connection for up to ten seconds

This is necessary because sometimes the postgres container takes
a while to come up, and we don't want randomly-failing tests due
to that.

thepoly/Pipeline,thepoly/Pipeline,thepoly/Pipeline,thepoly/Pipeline,thepoly/Pipeline