Make reconnect timeout configurable