support for ustream retry

support for ustream retry