Added support for closing lazy values