The service port list is now iterated in a safe and lock-free manner. This makes the handling of service ports somewhat simpler since once an item has been added to the list it will never be removed. It also removes the need to lock the service when checking whether a service listens on a port which caused potential deadlocks.