tileserver: fix double close fd, #10