Influence of in-plane field on the thermal stability of perpendicular media