This example performs a server.log() shortly before we disconnect from the server. In order to ensure all of the information was sent (and received) we do a server.flush() before disconnecting.