Decouple task delegate from url session manager