Fix memory leak

Pending call was left with an extra reference.