Added a warning when the connection is lost.