Is there a way to keep the last state of the OS component although a disconnetion happened?
My situation is that when the user quits I experience a disconnection, but still need the last picture of the screen (user disabled) to accomplish few tasks before closing the application.