Add annotation close method
Signed-off-by: Arbuzov <info@whitediver.com>