Fixed the reconnect code

Stream -> stream