Added configuration option for how long to wait before marking an index as idle