use create_singlethread_workqueue for portability. remove obsolete code