move http call to thread queue