Fix spinner timeout handling