Make reconnection/keepalive timeouts configurable