Use queue, prevent flapping

Defaulted the delay to 1s to prevent flapping. Switched to TQueue from
pipes concurrency and am no longer seeing threads being blocked.
note
Richer types for directives
Roll back changes to docs
Fix up logging and shutdown
Merge pull request #1 from MichaelXavier/queue

Queue