Replaced check for status.active by status.dataopen in check_network_activity.