net/thunderx: fix crash on detach