delete the calock file before normal termination