Add timeout argument to root()
Document timeout argument