safe queue