Add apiTimeout, add json, show exception info on scheduled task failure