Fixed restart of shared_port when using a dynamic port. #3478