Use a block to create the queue

My apologies. This is the third and hopefully final attempt to get this merged. I had to rewrite the history of the master branch of my fork to make other pull requests. That is why https://github.com/sensu/sensu/pull/448 merged nothing.

I promise to make future pull requests much less painful now that I understand the pitfalls.