Close TCP connections and updated mispelled errors