Don't set net field to NULL when closing, frames in outgoing queue may still use the net pointer