Removed unused usings
Add access modifiers
Removed redundant field initializers
Removed queryInput as it is never used
Use the built-in type aliases for string and object
Make queryHandler private readonly
Properties should go after the constructor. Use auto-implemented property for IsFinished, and make set private as it does not make sense to be able to set that from the outside
Use the var keyword where it is easy to see the type from the expression assigned
Remove unused properties host and port
Make messagingChannel a constant
Make cookieContainer, queries and messageQueue readonly
Make url and apiKey readonly and group the fields
Remove redundant qualifier
Use base class qualifier
Remove redundant else
Removed debugging code
Removed redundant empty argument lists
Fixed spacing around if statement
Added curly braces
Use object initiaizers