Clear up resolved and rejected callbacks on resolution or rejection

Fixes #6