io/fdpass: add flag to close fd after sending.