add timeout to network test