Improve client

 - reduce time out before trying to connect to server but raise up max tentatives
 - Expose the default time and max retry so that user can easily change that, for example if the user know that the server will take time to setup.
force user to explicitly close the server process

explicit is better than implicit
Improve test_integration to take the last modifs into account