use locks when accessing dictionary inventory
delay addr messages random number of seconds