ctx.allowedMIMETypes = allowedTypes;
final ClientGetter get = new ClientGetter(nullCallback, uri, ctx, prio, new NullBucket(), null, null);
core.getTicker().queueTimedJob(new Runnable() {
@Override
public void run() {
get.cancel(core.clientContext);
}
}, timeout);
try {
core.clientContext.start(get);