wrap cursor in operation
remove client