Check if security group ports already open before opening