Here is a quick'n dirty implementation of the release function. It still has bugs...
One more observation about this bug: the camera isn't freed at all before quitting...
release function not implemented in raspicam_still and raspicam_still_cv