vcl: mt detection and cleanup