fix: toggling when fmd is stopped may cause repeatd API calls