close read file descriptor