Close TCP connections and updated mispelled errors
Added test and fixes more spelling errors
Merge pull request #2 from isaldana/master

Close TCP connections and updated mispelled errors