[b] use the proper annotation class name, and listen to the kernel.terminate event