Do not leave the note idle for more than a few minutes. Always commit and close the note when not physically working in it.