close($doc) ?