allow timeout to be set when defineing the object