On $H$-closed extensions of topological spaces