Frontend: Scan: Once the scan is finished, make sure to garbage collect the scan_session

Signed-off-by: Jerome Flesch <jflesch@gmail.com>