Change unique ID Generation

This fixes a bug on windows, where the time.time() function previously
used wasn't accurate enough -> there were ID collisions
Increase devices timeout