Added small wait before getting devices.

Not sure why this is failing on Jenkins.