Unexpected error added to handle conectivity problems