Better handling for not connecting or json decodeerro
Merge pull request #23 from cwood/dev

Better handling for not connecting or json decode error