Removes duplicate ActiveRecord connection establishment calls