Merge "Detach pthread after using it" into tizen_5.5