improve graceful_http example