use correct type of lock when removing a thread request buffer