İf you make right-click on the vs-code icon and select close the window, then it works but ı had made a lot try like closing with task manager and click the cross icon, they didnt work.