prevent parser hangup with unterminated yaml input