Calling the monitor cache.flush() explicitly in the clean_up method of the calculator
Fixed a forgotten change of name