This commit is the backport of 1d584d81, to enable gtm_proxy to unregister
itself when the registration failed.   This patch is similar to
pg_ctl stop -m immediate improvement to eliminate DBA intervention
when gtm_proxy was killed/crashed and needs just a restart.

	modified:   src/gtm/proxy/proxy_main.c