Fixed network shutdown when all processes exit