When a yaml input file (or string) is not terminated with a \n (EOL) the yaml parser gos into an infinite loop at the end.