Release OSC socket when exiting Qt app