make events closeable for sessions