Open files with custom plugins

We have made some custom plugins for our company and running into an issue with open files. If we enable some of our plugins and do some actions in JIRA like browse tickets or create new ones, the open file count rise . The issue is these files… seen as jar_cache* files in a lsof.out dump, show deleted and are not found on the server. but yet it seems they still exist in memory perhaps as they never get really deleted off the open file count. So as days go on, these ‘deleted’ files are adding to the count getting close to the threshold.

Anyone ever ran into this ? Any way to add code or do something that would totally clean up/close these out so the count reduces? thanks!