added .to_i; added readme about timeout option