Free all LSM worker sessions.
Only free LSM worker sessions if they are initialized.