Remove the hanging line in the ldapsearch ex