My brother did this when he had problems. He was fine because he could prove he was withholding the rent to get essential works done. It was advised to put it in a separate account and make a payment every month that was exactly the cost of rent. In the end they did the works and he paid them the money.