Would cause memory leak when the context was `start`ed but not `finish`ed. (cherry picked from commit a28d25c441)
a28d25c441