Democrats held on to control of Senate, but Republicans are closing in on House