test if timeout is defined