torbrowser update script: added connectivity check