Call Api In Background Thread Ios Swift