net: Add support for batching network namespace cleanups