My guess is the ending was the part he hadn't finished personally since it does seem incongruous with the rest of the story and his style. I read Schnitzler's story but don't remember the ending there…I doubt it would have looked like the film's either.