Remove possibility for race condition to occur when adding/clearing and querying the request log at the same time