[FCS-35] Small refactoring and docstrings in task_server