If baking fails in first foreground bake, any subsequent bakes will fail indefinitely. Adding code to remove bakes in this situation and a test for this scenario