Destruct the message when parser failure occured
Add checks whether there are statements or a statements array

To be able to deinitialize properly.