move close() method from ErlElement to Openable, where it belongs