Do not cleanupTools() while they should still run
the endParse
method is misleading, because some parses are two-stage.
when the first state finishes, endParse
calls the second stage.
This is probably the worse class of Codevis and needs a proper rewrite, but this is an easy fix.