Perhaps a lock thread is in order?