Verify connections at each stage so we don't lose MySQL after long jobs.