--- listener.c	2012-07-26 16:24:04.000000000 +0200
+++ listener.c.fix	2012-10-25 15:05:24.809285000 +0200
@@ -741,6 +741,9 @@
 		}
 		LeaveCriticalSection(&as->lock);
 	}
+
+ 	if (shutdown && lev->flags & LEV_OPT_CLOSE_ON_FREE)
+		evutil_closesocket(lev_iocp->fd);
 	UNLOCK(lev);
 	return 0;
 }
