It is needed to improve the port number management code - reserving and releasing.
For example, we must not try to reassign a port number that was defined by client when we get a conflict during start of node.