[bugfix] Make sure user name is not accessed beyond max length

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
[update] [doc] clarify why task must terminate before delete

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>