Change the delivery state to RELEASED.
If the receiver.delivery-mode is AT-MOST-ONCE or AT-LEAST-ONCE, this call will also settle the delivery.