Use autocloseable