TIME_WAIT is part of the socket shutdown. The simplest way to work around this is the enable clean_partial_conns:
no -p -o clean_partial_conns=1
This will allow new connections to open even if the hold down time has not completed. This will only affect NEWLY opened connections - ie. the old connections in TIMED_WAIT state will stay there.
This is a very low risk change to make.
Ideally you will reboot the system to clean everything up. If you wait long enough, they will go away.
------------------------------
Grover Davidson
------------------------------