Fix incorrectly named method to save experiment state at shutdown.