Avoid deferred being fired twice when reconnecting