Clean up and disable UI when not connected