Do objects automatically get garbage collected when there's no more references to them, or do they just sit around until the script ends?