Fix a race condition if queued actions have been handled already
Merge pull request #1361 from samueltardieu/queued-actions

Fix a race condition if queued actions have been handled already