Connolly ending political career