add synchronized block when managing conatiner request queue