maintain a simple socket pool in client