Implement network state monitor