Fixed bug at line 69

Incorrectly calling stop_barcode_thread instead of stop_service_thread