ALSA: seq: Fix race at timer setup and close