Involes handleDone if the connection is closed normally.
void handleDone(StringCallback doneHandler);