Add timeout to recovery.