proper port unregistration (just some refactoring, noop)