If you are physically dependant, and want to go off, you do need to taper slowly, since going off it suddenly can cause a seizure.
is most often used for short term relief of anxiety
. Most docs won't use it as a first line medication for sleep, because of its addictive potential.
Chat with your Doc, be honest, and you'll be able to decide whether to stay on it or not.