Fixed data races on manipulation of the srpt_devices list by eliminating