fix #164 : use Closeable interface in order to mark closeable components