fix misspelled attribute name

it's queries, not queue. As result on_error callbacks for queries were
not invoked in case of fatal errors
Merge pull request #5 from trinitum/fix-attribute-name

on_error callbacks were not being called on fatal errors due to a misspelled attribute name on the code