revised RemoveUpstreamUnit() to check availability the target unit specified