Prevention of uncoupling in LHB train