Fixed the reconnect code

Stream -> stream
Merge pull request #27 from amicojeko/master

Fixed the reconnect code