add error message on connection lost