cleanup and guards
Use unstable when setting/unsetting proxy