timeout centralized to a var