Cantor to resign early