Close the lockclient after use