create cache_dir only if necessary, i.e. for reading ktlx files
egi mff can deal with 2 signals, but no more than that