Espargaró happy to end campaign with a podium