Controlling the end of the cell cycle