Merge pull request #2 from isaldana/master

Close TCP connections and updated mispelled errors
standard imports format