Critical thickness for two‐dimensional tearing instability