Making sure that the session_id is reset