title: Azure function requesting same message multiple times on service bus queue
body: <p>I'm trying to write a single message to service bus topic using the http trigger azure function in visual studio. I found that when I run the code locally that it will send through my message multiple times even though when I step through the code, it only hits the code once.
  Obviously, I only wanted to hit the topic once and not multiple times. Are there any particular reason it is happening with the below code
  Here is my code</p>
  <pre><code>        ServiceBusClient client = new ServiceBusClient(servicebusconn);
          ServiceBusSender sender = client.CreateSender(queuename);
          ServiceBusMessage message = new ServiceBusMessage(&quot;a&quot;);
          try
          {
              await sender.SendMessageAsync(message);
          }
          finally
          {
  
              await sender.DisposeAsync();
              await client.DisposeAsync();
          }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/bLNJs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bLNJs.png" alt="service bus topic" /></a></p>