def _runParallelTask(parallelTask):
    """Return the result of parallelTask.run(), or the exception generated when we attempt."""
    ret = None
    try:
        ret = parallelTask.run()
    except BaseException as err:
        ret = err
    return ret