fix doc. timeout requires arrayref
update by minilla