networking cleanup