connection control on client