I just had the same problem and found a way by browsing through the options. You should select Extras>Options, then Advanced, click on Show advanced options, then tick the field "Hide online status for this TeamViewer ID" in the subsection: "Advanced settings for Computers and Contacts".
This way, you can still connect to your computer, but it will be displayed as offline to users having your ID.
Hope this helps.