CLOSE_WAIT lasts as long as it takes for the two ends to close. The only
timeout which is a constant is TIME_WAIT which is mandated at 2 minutes.
You can make lots of connections to the same port as each will use a different
port at the client end, so unless you can use about 500 connects/2 minutes
(ie several per second) its not an issue. If it is an issue you are using
the wrong scheme or wrong protocol.
Alan