Added reconnect timeout into client.