master add timeout check