Close file descriptor