Fix expiration handling to not leak goroutines (#5506)
Fix expiration handling to not leak goroutines (#5506)

* Fix expiration handling to not leak goroutines

* Apply feedback

hashicorp/vault,hashicorp/vault,kingland/vault,hashicorp/vault,kingland/vault,hartsock/vault,rnaveiras/vault,rnaveiras/vault,hartsock/vault,quixoten/vault,hartsock/vault,quixoten/vault,kingland/vault,kingland/vault,rnaveiras/vault,quixoten/vault,rnaveiras/vault,hashicorp/vault,kingland/vault,hashicorp/vault,joelthompson/vault,rnaveiras/vault,joelthompson/vault,quixoten/vault,hashicorp/vault,joelthompson/vault,joelthompson/vault,hartsock/vault,hartsock/vault