Faster way of checking repository connectivity