Conditionally release GCD object. Fixes #22