Core: Fix issue #299 - clear checkContext after done using it

I'll need to send you a CLA...