added getter and setter for timout