typo
added safeguard to prevent running multiple instances

had a case of corrupted repository when multiple instances of TDCSKI were run

this should fix it