Remove not needed close calls.