Clearing history buffer after each execution.