Restart the indy_pool docker container. Idempotent. Ensures that the
    indy_pool container is a new running instance.

def restartIndyPool(**kwargs):
    '''Restart the indy_pool docker container. Idempotent. Ensures that the
    indy_pool container is a new running instance.'''
    print("Restarting...")
    try:
      stopIndyPool()
      startIndyPool()
      print("...restarted")
    except Exception as exc:
      eprint("...failed to restart")
      raise exc