better error handling on disconnect nic