Quit process after proxy server closes
Remove old connect api usage
ditto
Upgrade connect
Use new connect api