prevent terminal from resuming