avoid cursor updated into waiting forever
Created by: ghostplant
Original function will make the cursor in idle forever and doesn't recover into normal cursor for a very long time.
Created by: ghostplant
Original function will make the cursor in idle forever and doesn't recover into normal cursor for a very long time.