Replace deprecated Futures.addCallback by the newer version