Backend thread seems not working