assert in network connect timeout section.
all magic constants must have a name.
watermark to prevent too many reconnection attempts when there's no internet from exhausting resources. the watermark places a fixed upper limit on the number of connection attempts within a fixed interval (2000 ever 5 secs).