Fix typo in Device.php

There is een typo in the Device.php code which causes issues on timeouts