Filter current pid when listing locks

Don't show our own query in list of locks