Checks if tor is working