Prevent Firefox from reconnecting twice