use new thread with active record connection pool