ARI error on hangup

I am using ARI using python and stasis application. This is the [ARI code]( I am using. I am facing an issue when I hang-up.

ERROR:ari.client:Event listener threw exception
Traceback (most recent call last):
  File "/home/zadmin/hr-tovo/ari/ari/", line 100, in __run
    callback(msg_json, *args, **kwargs)
  File "/home/zadmin/hr-tovo/ari/ari/", line 198, in extract_objects
    event_cb(obj, event, *args, **kwargs)
  File "/home/zadmin/hr-tovo/ari/ari/", line 181, in fn_filter
    fn(objects, event, *args, **kwargs)
  File "/home/zadmin/hr-tovo/ari/", line 445, in <lambda>
  File "/home/zadmin/hr-tovo/ari/", line 62, in safe_bridge_destroy
    raise e
HTTPError: 409 Client Error: Conflict for url 

This is the error i get sometimes when I hangup.
Can you help me resolve this?

ASTERISK - 15.5.0 using the official [python library](