When closing the connection gracefully, as the message implies, the viewer shows the error message "Connection has been gracefully closed".
1. The message should not be displayed as error, because it's not.
2. The message should possibly not be displayed at all, because it's likely to be expected.