Don't show warning when has_internet_connection is set to false

Revert