readImageFile - webworker generation

Hello everyone, I work on an application that allows to read medical images (DICOM format) and I use a itk js (readImageFile) that allows to read these images but that returns a webworker to each image read the problem is when I read several images it generates several webworker and it blocks the browser, is there a way to remove them from network or resources, (I tried webworker.terminate() but it does not work in my case) please any thing i can do to solve this ? thank you in advance.