Added missing datapath terminate method.