put timeouts all in one place