I'm using java socket to transfer data from Client Side to my Server, User has to click a button to open a connection with a specific port and client had to run executable jar file to send the data to the opened port but in some cases user click the button and then close the browser tab for some reason ! When he tries to click the button again it givesI'm using java socket to transfer data from Cli