Effects of toroidal coupling on the stability of tearing modes