Added timeout for search failure detection with partitioning.