Thank you, it looks like since I was calling setTaskCompleted right after calling my post function; and that caused it to not complete the URLSession call.
I added a semaphore to wait til the URLSession task completes and thats did the trick.
Topic:
App & System Services
SubTopic:
Networking
Tags: