Dispose of the session in XPERT when the scan has completed.