This already exists. Remove them from being connections. It's exactly the same outcome - what do you think these people will think when they see one of your posts and notice you've barred them from commenting?
I would just remove the connection instantly in that scenario.