Every once in a while, I get a message from Time Machine telling me that it cannot back up because »the sparse bundle is in use«.
Restarting the NAS fixes the problem, but that's a bit hard-core. I've found that it starts working again if I disable and re-enable the AFP service through the web interface. An even easier way to do this is to ssh into the NAS and say
# systemctl restart netatalk