Try turning off screen from JavaScript.