Connect three HC-05 Masters to three HC-05 slaves
If you bind master 1 to slave 1, master 2 to slave 2, and master 3 to slave 3, then the 3 master/slave pairs should communicate without any conflicts and you will not need to keep closing and reopening COM ports. The binding procedure is described in this video - you need CMODE=0.