terminate early