disable hash based functionality when hashListeningEnabled is false Fixes #5445