close method

Closes this and flushes any outstanding data.

void close( )

Closes this and flushes any outstanding data.