tipc: make function tipc_net_finalize() thread safe