Arrangements for switching-off the drive of turning-machines after the stock has been completely machined