release locks if topics no longer needed