raise timeout after caching the files properly for read from other process and tmp file cleanup