Handle cases when server returns Future other then CompletableFuture or even null.