timeout param is used twice