RA-328 Clean up session after import to speed things up