Not long ago , Lieberman 's hold on his chairmanship seemed to be slipping as Democrats sought to punish him for boosting McCain and criticizing President-elect Barack Obama during the long campaign .