message: Safely dispose resources
diff: @@ -38,12 +38,14 @@ export async function run<T extends IResources>(
  runner.stop();
  });
  + try {
  // Wait for the runner to complete
  await runningP;
  -
  + } finally {
  // And then dispose of any resources
  await resources.dispose();
  }
  +}
  /**
  * Variant of run that is used to fully run a service. It configures base settings such as logging. And then will
  