Sometimes when intermine_builder runs build.sh, an unstable connection can cause it to fail. We should try and be more lenient to these failures, and automatically retry a few times.