Added an error message when slave fails to connect to master