I am using a while true do function but how would i end it when its no longer needed?