cleanup backend ports on stop