When SQL server is configured to use multiple ports, policy does not get applied on an agent