The second most profitable club in NSW is benefiting from a historical loophole that allows it to operate its poker machines during the riskiest hours for gambling harm.