When running the Ruby unit tests, attempt to gracefully terminate the loader process.