Jurgen Klopp admits he was relieved to see his Liverpool side beat Crystal Palace 4-3 in a thriller at Anfield.