Added capability to close no fds