Implement client side connection management.