Don't initiate upload if not connected
Fix disconnect prompt logic