made proxy to reconnect until succeed