Fixed Thread-unsafe code in caqueueingthread.c
Fixed Thread-unsafe code in caqueueingthread.c

mutex should be destroyed after deleting data queue.

Change-Id: I191d9519da47421d0e296d02cedd6af5eb757bdd
Signed-off-by: hyuna0213.jo <a3aecee2eabd6f87461b5d05d6fd0eaf35e269ed@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16337
Tested-by: jenkins-iotivity <09cb29e8a2b473a2c978382eec13ee06fa017bda@opendaylight.org>
Reviewed-by: Phil Coval <ff46fec9739d31cce915aabcc3a7a2c00eee4d6c@osg.samsung.com>
Reviewed-by: jihwan seo <69598d7552022c520cfdbefd16641727c7ff4ab5@samsung.com>
Reviewed-by: Jaehong Jo <69db334b3f87f30654728856fde276b43c835fe5@samsung.com>
Reviewed-by: Dan Mihai <ba8e1833495515b49ded9e20cae80a8129155aa9@microsoft.com>
Reviewed-by: Mike Fenelon <765c1ea1ad8b7b919b9c046cb20b518277e493ca@microsoft.com>

iotivity/iotivity,iotivity/iotivity,iotivity/iotivity,iotivity/iotivity,iotivity/iotivity,rzr/iotivity,rzr/iotivity,rzr/iotivity,rzr/iotivity,rzr/iotivity,iotivity/iotivity,rzr/iotivity,iotivity/iotivity,rzr/iotivity,iotivity/iotivity