unnecessary while loop was unnecessary

removed a while true which was required at one point of dev, but is now
redundant