timeoutをconstantsに