1. ping connection alive or create new connection; 2. close ws,vc in proxy