if mmap fails, don't close fd