What terminates the sludge discharge cycle...