Change the DBManager to Singleton type, so we can create a lock around
the object.
The timestamps for the packets are now working