How do I handle multiple Podio webhooks at a time

     

I've been using PHP on a server to work with the Podio API for over a year now. Everything has been great but every so often I run into an issue where multiple hooks are sent in succession and they aren't handled properly. For example I have a webhook set up for "task.update" which changes information in a linked item if I update information on a task. However