Hide the loading mask if the network is down

Avoid the blocking of the app if the network is down
and the loading mask is up.