Close the tox object after use.