2i driver was crashing
added an extra timeout argument to the get_index call so that the second key arg would make sense