return a number in case of the clock backwards instead of throwing error

check if the return's typeof == 'number' then it's an error, try again