Make sure the name server closes