This leaks `fd`