fix blockTxHashesCache not shutting down
don't hang on pending connections when shutting down