Struggle to close the socket in a package

I have a one java service which internally do start up the package (open the socket connection), while doing the shutdown (closing the socket connection), i am not able to close that socket connection.

any idea… :frowning:

Hi,

What is the error message you are receiving ?

Thanks
Avik