Fix this by stopping discard thread before f2fs_destroy_node_manager.
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 2122503]
This was fixed for Fedora with the 5.14.19 stable kernel update.