Network card with relay in case of power failure