Lowered timeout threshold, fixed missing import