Added time to wait for network to connect