Oops.. Now I see that custom `options.fd` is never used, but that was my mistake.. I should probably fix that after merge