close abstract method

void close()

This must close the socket but not the streams so that the same class can be reused by calling this.connect again.

Implementation

void close();