you should probably have a timeout set so that we don't block forever if the network goes away