[PATCH 5.2 144/215] dlm: check if workqueues are NULL before flushing/destroying