 	
 	public func write(_ data: Data) {
 		TCPSocket.workingThread.perform {
-			guard self.status == .opened else {
-				return
-			}
 			let bytes = [UInt8](data)
 			self.outputStream?.write(bytes, maxLength: bytes.count)
 		}

		disconnect()
	}
	
}

		}
	}
	
	private func handleOpenning() {
		guard status == .opening, inputStream!.streamStatus == .open, outputStream!.streamStatus == .open else {
			return
		}
		status = .opened
