cosmetics; lock while doing last queue elements