update: fix some not thread-save queue accesses.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>