Edit pauses during reconnect.
Remove unused variable desktop_counter