add retry time for reconnect