Added call to tb.clearlocks() to do a kinder, gentler lock clearing (I was
deleting the lock file before!).