waitIfStalled

This method will block if too many DWPT are currently flushing and no checked out DWPT are available