Tried to recover memory and cancel tasks on screen rotation and webcams