Great Britain's men finish fifth - their best showing in 20 years - after a 5-2 victory over South Korea.