sometimes webservice connections or curl request are pending waiting for a timeout, a pthread_cancel will then properly shutdown the task thread
sometimes webservice connections or curl request are pending waiting for a timeout, a pthread_cancel will then properly shutdown the task thread