Fix agent cancellation in security mode 3 situations

When there's a connection failure the issue needs to be communicated to
the device bonding logic so that any pending agent request is cancelled.
1 file changed