adding locking when processing request