I'm not sure if it's the same where you are, but leaving early means those remaining are generally responsible for the lease. Landlords dont care to hunt down someone on the lease when they know where the remaining people love that are responsible.
Or you could avoid being a dick and put up with it until the lease is up. 🤷