I think that he did it when people were around so he could blend in with them and if there are so many people and the here a gunshot, they will panic for sure and start running instead of calling an ambulance ( like how taesung and shiyoon also started.to run tho they still wanted to help)
Why wouldn't you wait for viking to be alone before you shoot him??? Why do it in such a crowded place when people are around?