Measurement of the BS0 lifetime