Added timeout and open_timeout