Raising OnError for timeouts.