Make sendTo use an AsyncTask to avoid a NetworkOnMainThreadException.