changed type in doc for timeout, float is a legal type for timeout