Disable access to networking when running code.