terminal cleaning protocol