fixes ZEN-15769: fix locking for global vhost routing handler