Add check for device not found

Change device retry strategy

Added timeout and stdout check

Small fixes

Added error message

Error fix

Spacing Fix

Changed retry strategy

Renamed error variables

Cleaning

Add comment

Fixes