Added auto-reconnection policy to socket conn.