ServerSocket and SocketAcceptor thread should be closed/interrupted before closing any other socket/connection to avoid re-connection during shutdown.
Merge pull request #3505 from mdogan/fix/3.4/serversocket

ServerSocket and SocketAcceptor thread should be closed/interrupted befo...