Error : The CacheManager has been shutdown. It can no longer be used

Its a simple store and retrieve of application data using some below cache functions :
cacheIdExists()
cacheGet()
cahcePut() //with timespan and idle time of 7 days each

with records not more than 1000.

When the api is triggered a lot of times, for example, filtering the list of records too many times, I get this error randomly not at all specific.

Lucee version installed : 5.2
Below is the cache configuration given in application.cfc :

this.cache.object={
class=“org.lucee.extension.cache.eh.EHCache”
,storage=false
,custom={distributed:“off”
,overflowtodisk:true
,maximumChunkSizeBytes:5000000
,diskpersistent:true
,memoryevictionpolicy:“LRU”}
};

Any ideas how to fix this?