Fixes leak of open connections with CLOSE_WAIT status