annyang now autorestarts when it stops, unless passing a false to the autorestart parameter when starting it. Stopping it manually causes it to turn off autorestart.