This is the case when the device returns from being locked. Isn't it worth reconnecting immediately in this case? Otherwise the reconnection will appear to be very slow from a users POV? The limit of 3 reconnects should protect the server.