added timeout sample