Anonymous Admin update proxy post patching and reboot

Problem: Anonymous admin update proxy post patching and reboot while using remote execution

Expected outcome: Proxy didn’t change once rebooted

Foreman and Proxy versions: Foreman - 3.2.0 / Proxy - 3.2.0

**Foreman and Proxy plugin versions:**Foreman - 3.2.0 / Proxy - 3.2.0

Distribution and version: Centos7

Other relevant data:

Below issue faced during patching

Patching RHEL 7 nodes using proxy via remote execution and reboot also do the same but post reboot proxy changed from assigned one to local foreman proxy. Can anyone please help on to fix this proxy change issue for remote execution?