Temporal patch for avoiding NetworkOnMainThreadException.