use proper mmap cleanup mechanism, per @eric