Delete the current token in case of any parsing failures

This basically fixes the memory leak spotted by one of the stress tests