close file descriptor