With new scratch block we can see if user has internet connection or no. We can use it also for multiplayer games - "No internet connection, we can't connect you" or something like that.
Thanks @yoshihome for showing that scratch has added this new block!