9cb38a9a18
- Implemented a more robust shutdown mechanism using sync.Once to prevent multiple shutdown calls and ensure all background managers are stopped properly. - Refactored coalesced request handling to utilize atomic operations for waiting counts, improving thread safety and performance. - Introduced a done channel for coalesced requests to signal completion, enhancing the handling of concurrent requests and reducing potential deadlocks. - Updated logging to provide better insights into cache request processing and error handling.