Graceful handling of incomplete http transactions