添加with handle

Signed-off-by: Gaubee <GaubeeBangeel@gmail.com>