add terminate/1 for adapters