title: Queue messages that are moved to Poison Queue still show as queue count, but stay hidden
body: <p>I am testing the Poison message handling of the Webjob that I am building.</p>
  
  <p>Everything seems to be working as expected except, one strange thing: </p>
  
  <p>When a message is moved to the “-poison” queue, its ghost seems to remain hidden (invisible) in the main job queue. That means if I have 6 poison messages moved to the “-poison” queue, storage explorer shows “<strong>Showing 0 of 6 messages in queue</strong>”. I can not see the 6 hidden messages in the Storage Explorer.</p>
  
  <p>I tried to delete the job queue and recreating it, but the strange issue still happening after I run my tests. Storage explorer shows “Showing 0 of 6 messages in queue”.</p>
  
  <p>What is happening behind the scene?</p>
  
  <p><strong>Update 1</strong></p>
  
  <p>I did some investigation and I think WebJob SDK does not delete the poison message.</p>
  
  <p>I went through WebJob SDK source code and I think this line of code is not being executed for some reason:</p>
  
  <p><a href="https://github.com/Azure/azure-webjobs-sdk/blob/dev/src/Microsoft.Azure.WebJobs.Host/Queues/QueueProcessor.cs#L119" rel="nofollow noreferrer">https://github.com/Azure/azure-webjobs-sdk/blob/dev/src/Microsoft.Azure.WebJobs.Host/Queues/QueueProcessor.cs#L119</a></p>
  
  <p>Here is my Function that can help reproducing the issue:</p>
  
  <pre><code>public class Functions
  {
      public static void ProcessQueueMessage([QueueTrigger("%QueueName%")] string message, TextWriter log)
      {
          if (message.Contains("Break"))
          {
              throw new Exception($"Error while processing message {message}");
          }
  
          log.WriteLine($"Processed message {message}");
      }
  
  }
  </code></pre>
  
  <p><strong>Update 2</strong></p>
  
  <p>Here is the WebJob SDK I am using:</p>
  
  <p><a href="https://i.stack.imgur.com/JE2tB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JE2tB.png" alt="enter image description here"></a></p>