handle timeout error on sum_bucket/2

addresses #743