add timeout check logic; mail