Adding failure message when cannot connect