block: use cancel_work_sync() instead of kblockd_flush_work()