Cannot Delete File because Lucee has it Locked

Migrated app from CF to Lucee and have a client who uploads an zip file nightly and a script run to unzip the files and then I process them. Never a problem running on CF server and not an issue on Lucee but within the last month the FTP fails to overwrite the zip file because the Lucee process has it locked. It’s been awhile since I’ve been actively coding so this might be a dumb/easy problem to resolve but I’m not finding answers by Googling it. Any suggestions? Thanks!