Add timeout to IndexSpec