Plugin to check network connection