add waiting time for reconnect in client driver

In case of a connection timeout, the driver now waits some seconds after
disconnecting before the new connection is started.