When the External Server and Module Gateway has the same value of connection timeout there is non trivial probability that the reconnection miss occur.
Example: when Module Gateway timeouts first and tries to connect immediately the External Server says "hey, I am already connected".
(there is a reconnect timer on Module Gateway - do an analysis to know how to set it to minimize this problem)
When the External Server and Module Gateway has the same value of connection timeout there is non trivial probability that the reconnection miss occur.
Example: when Module Gateway timeouts first and tries to connect immediately the External Server says "hey, I am already connected".
(there is a reconnect timer on Module Gateway - do an analysis to know how to set it to minimize this problem)