Supports explicit closing