fixed handling of failed/incomplete requests