Ensured that timeout is a number.