Initial attempt to lock golua interface to a single thread