Updated killPostForFavId to check for span.
Added try/catches around the top level functions to help with diagnosing craches.