[fix][broker] Return if reset in progress
### Motivation
Fix bug. If cursor reset in progress, the callback method will call `resetFailed` but without return. This will cause the callback be invoked again
### Modifications
Just add `return` after callback invoke `resetFailed`  If cursor reset in progress
@@ -1048,6 +1048,7 @@ public class ManagedCursorImpl implements ManagedCursor {
resetCursorCallback.resetFailed(
new ManagedLedgerException.ConcurrentFindCursorPositionException("reset already in progress"),
position);
+ return;
}
}
