ticket:2  connection check added