That won't hurt your JSS at all.
In fact, Upwork's My Stats page specifically highlights long-term relationships with clients as a POSITIVE thing.
From what I have been able to see from Upwork's statements and my own observations, a "long-term client" can be one that you bill only ten minutes of time to every three months.
Low-hours maintenance contracts are fine!