This fixes a bug where the provider would previously panic if asked to shut down early by Terraform, e.g. due to Terraform encountering an error upstream.
This fixes a bug where the provider would previously panic if asked to shut down early by Terraform, e.g. due to Terraform encountering an error upstream.