Cleanup network helper [skip ci]