Fix bug of endless loop if isNaN
Fix bug of endless loop if isNaN

Signed-off-by: Itai Koren <7a3f8a9ea5df78694ad87e4c8117b31e1b103a24@gmail.com>

itkoren/Lets-Node-exp-long-running,itkoren/Lets-Node-exp-long-running,itkoren/Lets-Node-exp-long-running