Put get DevEUIs for DevAddr in separate function.
Put get DevEUIs for DevAddr in separate function.

This will return the Redis connection to the pool after the DevEUIs are
retrieved. The get device-session function in the loop also acquires a
Redis connection, which potentially could result in a deadlock.

brocaar/loraserver,brocaar/loraserver