Skip blocked static middleware publish (#11698)