cec: add a Close() method to the interface