added reconnect parameters