Jurgen Klopp believes LIverpool's narrow 4-3 Champions League win over RB Salzburg will prove to be a valuable lesson for his players.