long START_TIME = System.currentTimeMillis();
long MAX_TIME = (Integer.valueOf(Config.getConfigValue(repos,"maxtimeout"))).longValue()*60000;
storage.newFit(); //This starts a new thread of execution internally...
//so through multiple turns of while-loop we'd have multiple threads running...
//Need some thread/resource management in here...
//