Changed the setTimeOut to 1 millisecond.