Clear all read/write locks on tables. This can be used if a task has indicated that it is trying to get a lock on a file.
Definition at line 6 of file task_clearstat.py.