Only unlink if current process is holding the lock [gh#1]