thread stuck in device driver fix