Block listener #fabric-sdk-java


hi All,
This is my block listener implemented in fabric sdk:

Consumer<BlockEvent> blockListener = blockEvent -> {

//some lines


networkObj.addBlockListener(startBlockNumber, blockListener);


once added to the network object this listner object (blockListener) will listen to all the transactions,right?

Is there a chance that this listener object stops listening without getting removed from the network?