[PATCH] BUG11278: Cleanup function for network check