Wipe out transient stuff at close().