SWITCHYARD-1640 (JCA inbound) Thread lock remains unexpectedly when RM invokes afterDelivery twice for same delivery