net/bnxt: fix crash when closing