timeout for parallel and queue