remove old config when clearing everything up. remove lock if tcpdump setup fails.