Add network status check sample.