Handle state when broker doesn't respond
Merge pull request #453 from tom-kuca/patch-2

Handle state when broker doesn't respond