Store reconnect settings in db