Turn off all network access for tests