test/servefile.c needs to call knc_close().