Prevent exceptions when trying to access network interfaces