Make sure non-recurring diagnostic requests actually get sent.
Patch in some missing queue.h functions when testing.