async terminate(force = false) {
    /* istanbul ignore next */
    debug('terminate(): terminating with force = %s', force);
    return this._pool.terminate(force);
  }
Terminates all workers in the pool.
@param {boolean} [force] - Whether to force-kill workers. By default, lets workers finish their current task before termination.
@private
@returns {Promise<void>}