https://github.com/jkramer/shell-fm/commit/5a43a40df8f9b000c0f8e1c1e0b40813047620b3 --- source/sckif.c.orig 2011-05-25 14:35:38.000000000 -0500 +++ source/sckif.c 2011-08-07 23:41:42.000000000 -0500 @@ -191,10 +191,7 @@ if(disconnect) { debug("removing client\n"); - shutdown(SHUT_RDWR, client_socket); - close(client_socket); - fclose(fd); - + fshutdown(& fd); remove_handle(client_socket); } }