timeouts optimizations