[session] cleanup the session directory