That is called harassment by electronic means in my state, and is a misdemeanor.
Even is it is not violent or threatening, the fact it continues after you being told to stop makes it illegal. When someone says stop, you stop.
Jail is not common for a first time offender, but possible.