server_queuereader: get pending metrics on shutdown right
server_queuereader: don't hang during shutdown when failed