Add heartbeat thread.  Allows program to notify the DB that it is in fact still listening.