On unprepared error, prepare and retry batch and bound statements