Minor improvement on the parcelport deadlock detection