Pass context to free functions; free all responses after use