Add more verbose curl output and pauses.

Test 4 is failing consistently on the CI server with
no obvious reason, so trying to eliminate possibility
of a race condition.