Instanciate client after every checks

Creating a client is not necessary if the programm exits
Merge pull request #6 from sylvaindethier/patch-1

Instanciate client after every checks