Subject: | JavaServer doesn't explicitly close server socket on exit |
When JavaServer is terminated (by "Ctrl+c" or "kill -2"), it doesn't close the server socket explicitly. This sometimes cause the socket to remain in TIME_WAIT state.
There should be a shutdown hook that will call "stop()" method.