Added missing parameter of stream_set_timeout