Adds timeout_retries feature, incrememnts default timeout to 100ms from 10ms.

timeout_retries specify the number of times we will retry a command when
timeout occurs. It is currently only implement in get_position_enc