Got rid of the while(true) 

Twas giving me the shits