TST: Make network tests run twice

Might help with issues like #4242

cc @cpcloud