--- src/shairport.c 2011-09-25 23:58:06.000000000 +0200 +++ src/shairport.c.new 2011-09-25 23:57:54.000000000 +0200 @@ -368,6 +368,7 @@ void shairport_exit(void) { m_running = 0; + close(tServerSock); } int shairport_is_running(void)