terminate boolean