Implemented the locking mechanism for delete requests to prevent
excessive delete requests from circulating.