using thread to include function SendPackageToAvlsOnlyByUidAndLocGetFromSql