Trying sleeps in the while loop to not overload the CPU...this needs thorough testing