Added connection check timer to database