You could also install a valve in the waste line.

TW