Automatically remove snark.lock file on application exit using atexit() registration