Bugfix

Now with keep-alive and reconnect mode optionnal.