Soliton-like defects in nematic liquid crystal thin layers