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

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