call stream failure callback if the stream fails to connect