Set terminaton time