fix parser doesn't exist error
Merge pull request #25 from missinglink/parser_error

when a parser initialization error occurs now the software no longer tries to close the not created parser.