minio-java
minio-java copied to clipboard
Method execution takes a long time
A Mian method,use openJDK 17.0.1

After all the code is executed, it takes 2 minutes for the JVM to shut down. I use version 7.0. I don't mention this

The same is true with jdk8. The JVM cannot exit immediately after the program is executed
It seems that okhttp has been waiting for the thread

How did you solve this issue?