A note on algebraic connectivity of 2-connected graphs