public void run() {
ReadableByteChannel rbc = null;
FileOutputStream fos = null;
try {
DownpourCache cache = RestAPI.getCache();
InputStream in = cache.get(url, new DownloadURLConnector() {
@Override
public void setHeaders(URLConnection conn) {
conn.setDoInput(true);
conn.setDoOutput(false);
System.setProperty("http.agent", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19");