fixed bug causing premature timeouts