Fix typo.
Fix race condition.

If the inter-circuit build delay is too large, the code after the for
loop is not run.  To fix this, we no longer use a time.sleep() in the
loop's last iteration.