Added delay until network becomes available