If your landlord has promised to fix the problem then you must give him the opportunity to do so. Otherwise you won't be able to unilaterally break your lease. The amount of time considered reasonable will be subjective. Make sure you give him all chances to make this right before you break the lease, otherwise you could be left holding the bag.
Mandi