modify sig handler to clean up dbm file