added error handling to the ldap store remove object method