call networking code asynchronously to prevent android fron complaining