Bug fix: The "callback" method would be called twice in case of "SyntaxError" exception.

Bug fix: The "callback" method would be called twice in case of "SyntaxError" exception.