Instanciate client after every checks

Creating a client is not necessary if the programm exits