Avoid some timeouts to work around keyboard handling