When the onions reach a deep caramel brown color you are ready to move on to the next step. Add the beer, broth, miso, thyme and bay leaves to the pot. Stir to mix and also to scrape up the browned bits of onions in the pan. Cook for 20 minutes. Add balsamic vinegar and more salt and pepper if needed.