I'm not sure it makes sense to combine the Celluloid/thread tracking with DB connection tracking, since the code that creates background workers/threads is rarely an ActiveRecord class.