Changed timeout property to ensure timeout is an integer