remove duplicate utility
remove useless parameter
simple query utilities: get_task_by_id and get_task_by_any
- is no option
create_client helper
fix missing argument
fix #241: pending status