[server] Add missing fclose()