How to opt out of parallel database hooks