Only try to index tables when we are connected