Sanders to stay in presidential race until Democratic convention