Only free LSM worker sessions if they are initialized.