I am running a Flink job in standalone deployment mode that uses Java djl to load a pytorch model. The model gets successfully loaded and I am able to cancel the job through Flink Rest API. However, when I try to launch the flink job once again, it throws,
UnsatisfiedLink Error:<pytorch>.so already loaded in another classloader
It requires a standalone deployment restart to load again. Is it possible to close the process along with the close job request so that I can load again without restarting?