it really depends whether your second tenancy agreement has any 死約 terms. If no, you can terminate it with 1 month notice or equivalent rent.
If yes, then 1 month penalty is a not much for the landlord, especially when the property is not good. The landlord may not get another tenant with the same rent income.