title: Cleaning up stale Azure Service Bus topic subscriptions
body: <p>I create subscriptions per client instance and would like to understand good practices on cleaning up stale subscriptions if the client crashes or closes unexpectedly.  </p>
  
  <p>Is there any way to determine by iterating through all the subscriptions of a topic to detect if the subscription hasn't been pulled for 24 hrs?</p>
  
  <p>I found <a href="https://stackoverflow.com/questions/12334838/detect-and-delete-orphaned-queues-topics-or-subscriptions-on-azure-service-bus">Detect and Delete Orphaned Queues, Topics, or Subscriptions on Azure Service Bus</a> but it's a bit dated.</p>