implement 'wait for network'