give MySQL time to insert stuff into table