[Fixed #51] Fixed issues with device timeouts.