Fix for the multiple network offline notifications

Fixes #543