change to use trac.core.Interface for IIndexer
change to sleep when an exception has occurred during the indexing