ServerCurrsor.close() shouldn't raise an exception. If the connection is closed, the cursor is for sure. As a consequence of not being able to close the cursor, we also raise a warning on delete, after raising the exception.