handleToFd without closing of the file descriptor