increased timeout for reading response from device (may fix some errors)
pass time value for commands as additional parameter
fixed example