Added reseting of timeout based on non sync or ping accesses to db