Acquire exclusive table lock earlier

Created by  Eelco Dolstra  on June 17, 2015
UPN2SAMLIQQETE63ZS7IC4ZIAMK4HFYBG3BNCUXXE2VQJAUNF6FQC
Change contents