Store time as text by default to avoid problem with column affinity inconsistency.
Move global variables related to time storage into connection statuses.