Update version and add close()