fixed waiting problem when driver is removed