Hide refresh notification when syncing fails due to no internet connection.

Fixes #405