[UPDATE] Add new function setConnectTimeout and setTimeout