display a message when connection to server is lost