Unlock MySQL tables when done