Add sleeping in to hopefully fix 500 errors in github:e scenarios.