dmsmgr fails to remove directory