fix(api/dbg/session): clear process instance id on instance end