modify queue logic, do not update queue while it updating
block queue

Signed-off-by: Artsiom Marozau <Artsiom_Marozau@epam.com>